package com.ethercamp.harmony.dmt.db.dao;



import com.ethercamp.harmony.dmt.db.core.SimpleTransaction;

import java.util.List;

/**
 * Created by LiYang on 2016/11/22.
 */
public interface TransactionTemplate {
    void saveTransaction(SimpleTransaction transaction);
    int saveTransactions(List<SimpleTransaction> transactions);
    void deleteTransaction(SimpleTransaction transaction);
    void updateTransaction(SimpleTransaction transaction);
    void dropTransactionCollection();
}
